home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / kcl / akcl / akcl1615.lha / h / sgi4d.h < prev    next >
C/C++ Source or Header  |  1992-04-11  |  1KB  |  60 lines

  1. #define SGI
  2. #include "att.h"
  3. #include "mips.h"
  4.  
  5. #define ADDITIONAL_FEATURES \
  6.              ADD_FEATURE("SGI"); \
  7.              ADD_FEATURE("MIPS")
  8.  
  9. /* #define    mips 1
  10.    The system defines this
  11.  */
  12. #define    IEEEFLOAT
  13.  
  14. #undef   FILECPY_HEADER
  15. #define FILECPY_HEADER \
  16.       filecpy(save, original, header.a_text);
  17.  
  18.  
  19.     /* text relocated; data is page-aligned after the text */
  20. #define DATA_BEGIN (char *)((TXTRELOC+header.a_text+(PAGSIZ-1)) & ~(PAGSIZ-1))
  21.  
  22. #define    PAGSIZ        4096
  23. #define    TXTRELOC    4096
  24.  
  25. #undef SET_REAL_MAXPAGE
  26. #define SET_REAL_MAXPAGE real_maxpage = MAXPAGE 
  27.  
  28. #define RELOC_FILE "rel_mips.c"
  29.  
  30. #undef SFASL
  31.  
  32. #undef NEED_GETWD
  33.  
  34. #define SEEK_TO_END_OFILE \
  35.            do{HDRR symhdr; \
  36.        fp = faslfile->sm.sm_fp;\
  37.            fread(&fileheader, sizeof(fileheader), 1, fp); \
  38.        fseek(fp, fileheader.f_symptr, 0); \
  39.         fread(&symhdr, cbHDRR, 1, fp); \
  40.             fseek(fp, symhdr.cbExtOffset + symhdr.iextMax * cbEXTR, 0);} \
  41.        while(0);
  42.  
  43.  
  44. #ifdef IN_UNIXFSYS
  45. #undef ATT
  46. #define BSD
  47. #endif
  48.  
  49. /* #define DBEGIN 0x10000000 */
  50. #define DBEGIN 0x600000
  51.                
  52. #define UNIXSAVE "save_sgi4.c"
  53. #define UNIXFASL "faslsgi4.c"
  54. #define HAVE_GETDTABLESIZE
  55.  
  56. /* Begin for cmpinclude */
  57.  
  58.  
  59. /* End for cmpinclude */
  60.